import unittest

import pytest

from common import log_set,sen_mail

if __name__ == '__main__':
    log_set()
    pytest.main(['./','-s','--html=baogao.html'])
    sen_mail(['log.txt','baogao.html'])